﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="testEval_PKPI_nodata.aspx.cs" Inherits="BSCMFF.Web.Pages.working.testEval_PKPI_nodata" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">


<telerik:RadGrid ID="RadGridPersonalKPIsEvaluation" runat="server" 
    CellSpacing="0" DataSourceID="EntityDataSourcePKPIsEvaluation" 
    GridLines="None" >
        
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="ID" GroupLoadMode="Client"
            DataSourceID="EntityDataSourcePKPIsEvaluation">
    <GroupByExpressions>
        <telerik:GridGroupByExpression>
            <SelectFields>
                <telerik:GridGroupByField FieldAlias="Evaluation" FieldName="Evaluation_Period.Name" 
                    HeaderValueSeparator=" : "></telerik:GridGroupByField>
            </SelectFields>
            <GroupByFields>
                <telerik:GridGroupByField FieldName="Evaluation_FK" ></telerik:GridGroupByField>
            </GroupByFields>
        </telerik:GridGroupByExpression>
    </GroupByExpressions>
    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
    <HeaderStyle Width="20px"></HeaderStyle>
    </RowIndicatorColumn>

    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
    <HeaderStyle Width="20px"></HeaderStyle>
    </ExpandCollapseColumn>

        <Columns>
            <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" 
                FilterControlAltText="Filter ID column" HeaderText="ID" ReadOnly="True" 
                SortExpression="ID" UniqueName="ID">
            </telerik:GridBoundColumn>

            <telerik:GridBoundColumn DataField="Evaluation_Period.Name" DataType="System.String"
                FilterControlAltText="Filter Evaluation column" HeaderText="Evaluation" 
                SortExpression="Evaluation_Period.Name" UniqueName="Evaluation_Period.Name">
            </telerik:GridBoundColumn>
           <telerik:GridBoundColumn DataField="Evaluation_FK" DataType="System.Int32" Visible="false"
                FilterControlAltText="Filter Evaluation_FK column" HeaderText="Evaluation_FK" 
                SortExpression="Evaluation_FK" UniqueName="Evaluation_FK">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PKPI_FK" DataType="System.Int32" Visible="false" 
                FilterControlAltText="Filter PKPI_FK column" HeaderText="PKPI_FK" 
                SortExpression="PKPI_FK" UniqueName="PKPI_FK">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Personal_KPI.Name" DataType="System.String" 
                FilterControlAltText="Filter Personal_KPI.Name column" HeaderText="Personal KPI" 
                SortExpression="Personal_KPI.Name" UniqueName="Personal_KPI.Name">
            </telerik:GridBoundColumn>

           <telerik:GridBoundColumn DataField="Weight" DataType="System.Int32" 
                FilterControlAltText="Filter Weight column" HeaderText="Weight" 
                SortExpression="Weight" UniqueName="Weight">
            </telerik:GridBoundColumn>
        </Columns>

    <EditFormSettings>
    <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
    </MasterTableView>

    <FilterMenu EnableImageSprites="False"></FilterMenu>

    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
        
</telerik:RadGrid>


<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false"
        DataSourceID="EntityDataSourcePKPIsEvaluation">
<MasterTableView DataSourceID="EntityDataSourcePKPIsEvaluation">
<Columns>
            <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" 
                FilterControlAltText="Filter ID column" HeaderText="ID" ReadOnly="True" 
                SortExpression="ID" UniqueName="ID">
            </telerik:GridBoundColumn>

            <telerik:GridBoundColumn DataField="Evaluation_Period.Name" DataType="System.String"
                FilterControlAltText="Filter Evaluation column" HeaderText="Evaluation" 
                SortExpression="Evaluation_Period.Name" UniqueName="Evaluation_Period.Name">
            </telerik:GridBoundColumn>
           <telerik:GridBoundColumn DataField="Evaluation_FK" DataType="System.Int32" Visible="false"
                FilterControlAltText="Filter Evaluation_FK column" HeaderText="Evaluation_FK" 
                SortExpression="Evaluation_FK" UniqueName="Evaluation_FK">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PKPI_FK" DataType="System.Int32" Visible="false" 
                FilterControlAltText="Filter PKPI_FK column" HeaderText="PKPI_FK" 
                SortExpression="PKPI_FK" UniqueName="PKPI_FK">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Personal_KPI.Name" DataType="System.String" 
                FilterControlAltText="Filter Personal_KPI.Name column" HeaderText="Personal KPI" 
                SortExpression="Personal_KPI.Name" UniqueName="Personal_KPI.Name">
            </telerik:GridBoundColumn>

           <telerik:GridBoundColumn DataField="Weight" DataType="System.Int32" 
                FilterControlAltText="Filter Weight column" HeaderText="Weight" 
                SortExpression="Weight" UniqueName="Weight">
            </telerik:GridBoundColumn>
        </Columns>
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>

<FilterMenu EnableImageSprites="False"></FilterMenu>

<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
</telerik:RadGrid>

<asp:EntityDataSource ID="EntityDataSourcePKPIsEvaluation" runat="server" 
    ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
    EnableFlattening="False" EntitySetName="Evaluation_PKPIs" Include="Personal_KPI, Evaluation_Period">
</asp:EntityDataSource>
</asp:Content>
